﻿<UserControl x:Class="HeritageAcademy.Window.WellcomeScreenView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Resources="clr-namespace:HeritageAcademy.Window.Resources"
	mc:Ignorable="d"
	UseLayoutRounding="True"
	d:DesignWidth="640" d:DesignHeight="480">

	<Grid x:Name="grid" Background="#FFFFCC70">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="40"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.33*"/>
			<ColumnDefinition Width="0.66*"/>
		</Grid.ColumnDefinitions>
        
        <!-- Logo -->
        <StackPanel d:LayoutOverrides="Width" HorizontalAlignment="Center" VerticalAlignment="Center">
			<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="/HeritageAcademy.Window;component/Resources/Images/logo.png"/>
            <TextBlock HorizontalAlignment="Center" Text="{x:Static Resources:Strings.Wellcome_LogoText}" VerticalAlignment="Center" FontSize="24" Foreground="White" TextOptions.TextFormattingMode="Display"/>
		</StackPanel>
        
        <!-- Start -->
        <Button x:Name="btnStartTest" Content="{x:Static Resources:Strings.Wellcome_StartTestButtonText}" Height="36" Style="{DynamicResource RoundedShadowButtonStyle}" VerticalAlignment="Center" Grid.Column="1" HorizontalAlignment="Center"/>
		
        <!-- Bottom -->
        <Border x:Name="brdBottom" BorderBrush="#727A5C27" BorderThickness="0,1,0,0" Grid.Row="1" Grid.ColumnSpan="2" Height="40" SnapsToDevicePixels="True">
			<Border.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="White" Offset="1"/>
					<GradientStop Color="#FFD4D4D4"/>
				</LinearGradientBrush>
			</Border.Background>
            <TextBlock TextWrapping="Wrap" Text="{x:Static Resources:Strings.Window_CreatedBy}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="20,0,0,0" Foreground="#727E7E7E" TextOptions.TextFormattingMode="Display"/>
		</Border>
	</Grid>
</UserControl>